Cursor objects can be used to point to specific entries in a view.
A cursor acts very much like a pointer to a row in a view, and is
returned when taking the address of a c4_RowRef. Dereferencing
a cursor leads to the original row reference again. You can construct a
cursor for a c4_Row, but since such rows are not part of a collection,
incrementing or decrementing these cursors is meaningless (and wrong).
The usual range of pointer operations can be applied to these objects:
pre/post-increment and decrement, adding or subtracting integer offsets,
as well as the full range of comparison operators. If two cursors
point to entries in the same view, their difference can be calculated.
As with regular pointers, care must be taken to avoid running off of
either end of a view (the debug build includes assertions to check this).
class
c4_Cursor - $Id: k4view.h,v 1.21 1997/06/05 08:31:53 jcw Rel $